package utils;


import java.util.Comparator;

import node1.AbstractTask;

public class PriorityComparator implements Comparator<AbstractTask>{

	@Override
	public int compare(AbstractTask task_1, AbstractTask task_2) {
		
		 return new Integer(task_1.getPriority()).compareTo(task_2.getPriority());
	}

}
